//
//  SPMapDataManager.h
//  SPMapKit
//
//  Created by zhangyz on 2017/9/18.
//  Copyright © 2017年 zhangbo. All rights reserved.
//
//  对地图数据的管理

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "SPMapTypedef.h"
#import "SPMapDBInstance.h"

@interface SPMapDataManager : NSObject
{
    dispatch_queue_t _serialQueue;
}

@property (nonatomic) NSMutableDictionary *tmpImageDic;         //临时的图片缓存

@property (nonatomic) NSMutableDictionary *dbImageDic;          //已存入本地数据库图片

// 单例
+ (SPMapDataManager *) Instance;

//获取地图图片
- (MapImageInfo *) getImageForMap:(MapImageInfo *)info;


@end
